<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form,tableData:tableData}" showPerson personType="PERSON_AAC031_1" psTagType="PERSON_AAB001_GROUP" isSearch>
                <!-- <ep-button size="small" name="打印"></ep-button>
                <ep-button size="small" name="刷新"></ep-button> -->
            </epl-top-bar>
            <el-card class="ep-card">
                <ep-title>人员参保信息修改</ep-title>
                <el-form :model="form" ref="form" :rules="rules">
                    <el-row :gutter="20">
                        <ep-input  colspan="8" label="个人编号" name="aac001" :property="form.aac001"
                                p="H" :datas="{formData: form }"></ep-input >
                    </el-row>
                    <el-row :gutter="20">
                        <ep-input  colspan="8" label="姓名" name="aac003" rules="this.$rules.test_noBlank" :property="form.aac003" placeholder="请输入姓名" 
                                p="R" :datas="{formData: form }" isChange></ep-input >
                        <ep-select colspan="8" label="性别" name="aac004" rules="this.$rules.test_noBlank" :property="form.aac004" placeholder="请选择性别"
                                p="R" :datas="{formData: form}" codetype="AAC004" ></ep-select>
                        <ep-select colspan="8" label="证件类型" name="aac058" rules="this.$rules.test_noBlank" :property="form.aac058" placeholder="请选择证件类型"
                                p="R" :datas="{formData: form}" codetype="AAC058" isChange></ep-select>        
                    </el-row>
                    <el-row :gutter="20">
                        <ep-select  colspan="8" label="个人身份" name="aac012" rules="this.$rules.test_noBlank" :property="form.aac012" placeholder="请选择个人身份" 
                                p="R" :datas="{formData: form }" codetype="AAC012" ></ep-select >
                        <ep-select colspan="8" label="户口性质" name="aac009" rules="this.$rules.test_noBlank" :property="form.aac009" placeholder="请选择户口性质"
                                p="R" :datas="{formData: form}" codetype="AAC009" ></ep-select>
                        <ep-date colspan="8" label="参加工作时间" name="aac007" rules="this.$rules.test_noBlank" :property="form.aac007" placeholder="请选择参加工作时间" 
                                p="R" :datas="{formData: form }" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                    </el-row>
                    <el-row :gutter="20">
                        <ep-input  colspan="8" label="证件号码" name="aac147" rules="this.$rules.test_noBlank" :property="form.aac147" placeholder="请输入证件号码" 
                                p="R" :datas="{formData: form ,panel:panel}" isChange></ep-input >
                        <ep-date colspan="8" label="出生日期" name="aac006" rules="this.$rules.test_noBlank" :property="form.aac006" placeholder="请选择出生日期" 
                                p="E" :datas="{formData: form }" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                        <ep-select colspan="8" label="民族" name="aac005" rules="this.$rules.test_noBlank" :property="form.aac005" placeholder="请选择民族"
                                p="E" :datas="{formData: form}" codetype="AAC005" ></ep-select>        
                    </el-row>
                    <el-row :gutter="20">
                        <ep-select  colspan="8" label="国籍" name="aac161" rules="this.$rules.test_noBlank" :property="form.aac161" placeholder="请选择国籍" 
                                p="R" :datas="{formData: form }" codetype="AAC161" ></ep-select >
                        <ep-input  colspan="8" label="社会保障号" name="aac002" :property="form.aac002" placeholder="请输入社会保障号" 
                                p="R" :datas="{formData: form }" ></ep-input >
                        <ep-select  colspan="8" label="转移账户类别" name="aae473" :property="form.aae473" placeholder="请选择账户类别" 
                                p="E" :datas="{formData: form }" codetype="AAE473" ></ep-select >
                    </el-row>
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="文化程度" name="aac011" :property="form.aac011" placeholder="请选择文化程度"
                                p="E" :datas="{formData: form}" codetype="AAC011" ></ep-select>
                        <ep-input  colspan="8" label="手机号码" name="aac067" rules="this.$rules.mobile" :property="form.aac067" placeholder="请输入手机号码" 
                                p="R" :datas="{formData: form }" ></ep-input >
                        <ep-input  colspan="8" label="固定电话" name="aae005" rules="this.$rules.telephone" :property="form.aae005" placeholder="请输入电话号码" 
                                p="E" :datas="{formData: form }" ></ep-input >       
                    </el-row>
                    <el-row :gutter="20">
                        <ep-input  colspan="8" label="电子邮箱" name="aae159" rules="this.$rules.isEmail" :property="form.aae159" placeholder="请输入电子邮箱" 
                                p="E" :datas="{formData: form }" ></ep-input >
                        <ep-input  colspan="8" label="联系地址邮编" name="aae007" rules="this.$rules.postcode" :property="form.aae007" placeholder="请输入邮政编码" 
                                p="E" :datas="{formData: form }" ></ep-input >
                        <ep-select colspan="8" label="婚姻状况" name="aac017" :property="form.aac017" placeholder="请选择婚姻状况"
                                p="E" :datas="{formData: form}" codetype="AAC017" ></ep-select>    
                    </el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="户口所在地址" name="bac030" :property="form.bac030" placeholder="请输入户口所在省"
                                p="R" :datas="{formData:form}"  codetype="BAE007" isChange isCodeType></ep-select>
                        <ep-select colspan="4" label=""  name="bac031" :property="form.bac031" placeholder="请输入户口所在市"
                                p="E" :datas="{formData:form}" codetype="BAE008" label-width="0" isChange isCodeType></ep-select>
                        <ep-select colspan="4" label=""  name="bac032" :property="form.bac032" placeholder="请输入户口所在区县"
                                p="E" :datas="{formData:form}" codetype="BAE009" label-width="0"></ep-select>
                        <ep-input  colspan="8" label="" name="aac010" :property="form.aac010" placeholder="请输入详细户口所在地址" 
                                p="E" :datas="{formData: form }" label-width="0"></ep-input >
                    </el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="联系地址" name="bae011" :property="form.bae011" placeholder="请输入联系地址所在省"
                                p="R" :datas="{formData:form}"  codetype="BAE007" isChange isCodeType></ep-select>
                        <ep-select colspan="4" label=""  name="bae012" :property="form.bae012" placeholder="请输入联系地址所在市"
                                p="E" :datas="{formData:form}" codetype="BAE008"  label-width="0" isChange isCodeType></ep-select>
                        <ep-select colspan="4" label=""  name="bae013" :property="form.bae013" placeholder="请输入联系地址所在区县"
                                p="E" :datas="{formData:form}" codetype="BAE009"  label-width="0" ></ep-select>
                        <ep-input  colspan="8" label="" name="aae006" :property="form.aae006" placeholder="请输入详细联系地址" 
                                p="E" :datas="{formData: form }" label-width="0"></ep-input >
                    </el-row>
                    <el-row>
                        <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013"
                                p="E" :datas="{formData: form}"></ep-textarea>
                    </el-row>
                    
                </el-form>
                 <ep-table :data="tableData" :pager="20" rowDbClick  >  
                    <ep-table-column editor="index" width="50" header="序号" ></ep-table-column>                            
                    <ep-table-column editor="checkbox" header="选择" width="55"></ep-table-column>  
                    <ep-table-column sortable editor="select"  codetype="AAE140" name="aae140" header="险种类型"></ep-table-column>
                    <ep-table-column sortable editor="text"  name="aae1401" header="申报工资"></ep-table-column>
                    <ep-table-column sortable editor="text"  name="aae1402" header="缴费基数"></ep-table-column>
                    <ep-table-column sortable editor="select" edited  codetype="AAZ289" name="aaz289" header="征缴费率"></ep-table-column>
                    <ep-table-column sortable editor="select"  codetype="AAB033" name="aab033" header="征收方式"></ep-table-column>
                </ep-table>
                
                    <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save" @formValidate="formValidate"
                                       :validate="['form']" :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                    </el-row>
            </el-card>
            
            
        </el-main>
    </el-main>
</template>

<script src="../js/PsInsureModifyJS.js"></script>
